package com.itheima.crm.mapper;

import java.util.List;



import com.itheima.crm.pojo.gongwen;


public interface GongwenDao {

	
	//总条数
	public Integer gongwenCount(gongwen vo);
	//结果集
	public List<gongwen> selectgongwen(gongwen vo);
	
	//通过ID查询客户
	public gongwen selectgongwenById(Integer id);
	//插入公文信息
	public void insertgongwen(gongwen vo);
	

	public gongwen queryDocByDocId(Integer gwid);
	
	public boolean delete(Integer gwid);
	}

